package site.yunnong.atvris.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import site.yunnong.atvris.dao.domain.VideoRank;
import site.yunnong.atvris.dao.domain.VideoRankExample;

@Mapper
public interface VideoRankMapper {
    long countByExample(VideoRankExample example);

    int deleteByExample(VideoRankExample example);

    int deleteByPrimaryKey(Long id);

    int insert(VideoRank record);

    int insertSelective(VideoRank record);

    List<VideoRank> selectByExample(VideoRankExample example);

    VideoRank selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") VideoRank record, @Param("example") VideoRankExample example);

    int updateByExample(@Param("record") VideoRank record, @Param("example") VideoRankExample example);

    int updateByPrimaryKeySelective(VideoRank record);

    int updateByPrimaryKey(VideoRank record);
}